package com.e2oto.seller.modules.seller.bean;

/**
 * Created by ZhangLiQiang on 2017/11/22.
 */


public class SpecBean {
    /**
     * 0表示新增布局
     * 1表示正常的列表布局
     */
    private int viewType;
    private boolean isShowContent;
    private String unit;
    private String weight;
    private String store_nums;
    private String sell_price;
    private String store_total;
    private int type;
    private int spec_id = 0;

    public int getSpec_id() {
        return spec_id;
    }

    public void setSpec_id(int spec_id) {
        this.spec_id = spec_id;
    }

    /***
     * goods_id	商品id	int	必填
     seller_id	商家id	int	必填
     goods_spec	规格数组	array|json	必填
     数组包含字段	-	-	-
     unit	计量单位	string	必填
     weight	重量或数量	string	必填
     store_nums	库存	int	必填
     sell_price	卖价	string	必填
     type	类型	int[0:单价;1:总价]	必填
     * @param
     */

    public String getStore_total() {
        return store_total;
    }

    public void setStore_total(String store_total) {
        this.store_total = store_total;
    }


    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public int getViewType() {
        return viewType;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    public void setShowContent(boolean showContent) {
        isShowContent = showContent;
    }

    public boolean isShowContent() {
        return isShowContent;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }


    public void setSell_price(String sell_price) {
        this.sell_price = sell_price;
    }

    public String getUnit() {
        return unit;
    }

    public String getWeight() {
        return weight;
    }


    public String getSell_price() {
        return sell_price;
    }

    public void setStore_nums(String store_nums) {
        this.store_nums = store_nums;
    }

    public String getStore_nums() {
        return store_nums;
    }
}
